package com.woniuxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//因为我们没有遵守约定：我们启动类必须是在最外层，它才会自动扫描(启动类的同级或者子级的包)包
//和之前配置的xml：context:componet-scan 一个效果
//@ComponentScan("com.woniuxy.controller")
public class Day09springboot01Application {

    public static void main(String[] args) {
        SpringApplication.run(Day09springboot01Application.class, args);
    }

}
